3.5.66 \(\int \frac {(e+f x) \text {csch}^2(c+d x) \text {sech}(c+d x)}{a+b \sinh (c+d x)} \, dx\) [466]

Optimal. Leaf size=591 \[ -\frac {2 f x \text {ArcTan}\left (e^{c+d x}\right )}{a d}+\frac {2 b^2 (e+f x) \text {ArcTan}\left (e^{c+d x}\right )}{a \left (a^2+b^2\right ) d}+\frac {f x \text {ArcTan}(\sinh (c+d x))}{a d}-\frac {(e+f x) \text {ArcTan}(\sinh (c+d x))}{a d}+\frac {2 b (e+f x) \tanh ^{-1}\left (e^{2 c+2 d x}\right )}{a^2 d}-\frac {f \tanh ^{-1}(\cosh (c+d x))}{a d^2}-\frac {(e+f x) \text {csch}(c+d x)}{a d}+\frac {b^3 (e+f x) \log \left (1+\frac {b e^{c+d x}}{a-\sqrt {a^2+b^2}}\right )}{a^2 \left (a^2+b^2\right ) d}+\frac {b^3 (e+f x) \log \left (1+\frac {b e^{c+d x}}{a+\sqrt {a^2+b^2}}\right )}{a^2 \left (a^2+b^2\right ) d}-\frac {b^3 (e+f x) \log \left (1+e^{2 (c+d x)}\right )}{a^2 \left (a^2+b^2\right ) d}+\frac {i f \text {PolyLog}\left (2,-i e^{c+d x}\right )}{a d^2}-\frac {i b^2 f \text {PolyLog}\left (2,-i e^{c+d x}\right )}{a \left (a^2+b^2\right ) d^2}-\frac {i f \text {PolyLog}\left (2,i e^{c+d x}\right )}{a d^2}+\frac {i b^2 f \text {PolyLog}\left (2,i e^{c+d x}\right )}{a \left (a^2+b^2\right ) d^2}+\frac {b^3 f \text {PolyLog}\left (2,-\frac {b e^{c+d x}}{a-\sqrt {a^2+b^2}}\right )}{a^2 \left (a^2+b^2\right ) d^2}+\frac {b^3 f \text {PolyLog}\left (2,-\frac {b e^{c+d x}}{a+\sqrt {a^2+b^2}}\right )}{a^2 \left (a^2+b^2\right ) d^2}-\frac {b^3 f \text {PolyLog}\left (2,-e^{2 (c+d x)}\right )}{2 a^2 \left (a^2+b^2\right ) d^2}+\frac {b f \text {PolyLog}\left (2,-e^{2 c+2 d x}\right )}{2 a^2 d^2}-\frac {b f \text {PolyLog}\left (2,e^{2 c+2 d x}\right )}{2 a^2 d^2} \]

[Out]

-2*f*x*arctan(exp(d*x+c))/a/d+2*b^2*(f*x+e)*arctan(exp(d*x+c))/a/(a^2+b^2)/d+f*x*arctan(sinh(d*x+c))/a/d-(f*x+
e)*arctan(sinh(d*x+c))/a/d+2*b*(f*x+e)*arctanh(exp(2*d*x+2*c))/a^2/d-f*arctanh(cosh(d*x+c))/a/d^2-(f*x+e)*csch
(d*x+c)/a/d-b^3*(f*x+e)*ln(1+exp(2*d*x+2*c))/a^2/(a^2+b^2)/d+b^3*(f*x+e)*ln(1+b*exp(d*x+c)/(a-(a^2+b^2)^(1/2))
)/a^2/(a^2+b^2)/d+b^3*(f*x+e)*ln(1+b*exp(d*x+c)/(a+(a^2+b^2)^(1/2)))/a^2/(a^2+b^2)/d-I*b^2*f*polylog(2,-I*exp(
d*x+c))/a/(a^2+b^2)/d^2-I*f*polylog(2,I*exp(d*x+c))/a/d^2+I*b^2*f*polylog(2,I*exp(d*x+c))/a/(a^2+b^2)/d^2+I*f*
polylog(2,-I*exp(d*x+c))/a/d^2-1/2*b^3*f*polylog(2,-exp(2*d*x+2*c))/a^2/(a^2+b^2)/d^2+1/2*b*f*polylog(2,-exp(2
*d*x+2*c))/a^2/d^2-1/2*b*f*polylog(2,exp(2*d*x+2*c))/a^2/d^2+b^3*f*polylog(2,-b*exp(d*x+c)/(a-(a^2+b^2)^(1/2))
)/a^2/(a^2+b^2)/d^2+b^3*f*polylog(2,-b*exp(d*x+c)/(a+(a^2+b^2)^(1/2)))/a^2/(a^2+b^2)/d^2

________________________________________________________________________________________

Rubi [A]
time = 0.62, antiderivative size = 591, normalized size of antiderivative = 1.00, number of steps used = 37, number of rules used = 18, integrand size = 32, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.562, Rules used = {5708, 2701, 327, 213, 5570, 5311, 12, 4265, 2317, 2438, 3855, 5569, 4267, 5692, 5680, 2221, 6874, 3799} \begin {gather*} \frac {2 b^2 (e+f x) \text {ArcTan}\left (e^{c+d x}\right )}{a d \left (a^2+b^2\right )}-\frac {i b^2 f \text {Li}_2\left (-i e^{c+d x}\right )}{a d^2 \left (a^2+b^2\right )}+\frac {i b^2 f \text {Li}_2\left (i e^{c+d x}\right )}{a d^2 \left (a^2+b^2\right )}+\frac {b^3 f \text {Li}_2\left (-\frac {b e^{c+d x}}{a-\sqrt {a^2+b^2}}\right )}{a^2 d^2 \left (a^2+b^2\right )}+\frac {b^3 f \text {Li}_2\left (-\frac {b e^{c+d x}}{a+\sqrt {a^2+b^2}}\right )}{a^2 d^2 \left (a^2+b^2\right )}-\frac {b^3 f \text {Li}_2\left (-e^{2 (c+d x)}\right )}{2 a^2 d^2 \left (a^2+b^2\right )}+\frac {b^3 (e+f x) \log \left (\frac {b e^{c+d x}}{a-\sqrt {a^2+b^2}}+1\right )}{a^2 d \left (a^2+b^2\right )}+\frac {b^3 (e+f x) \log \left (\frac {b e^{c+d x}}{\sqrt {a^2+b^2}+a}+1\right )}{a^2 d \left (a^2+b^2\right )}-\frac {b^3 (e+f x) \log \left (e^{2 (c+d x)}+1\right )}{a^2 d \left (a^2+b^2\right )}+\frac {b f \text {Li}_2\left (-e^{2 c+2 d x}\right )}{2 a^2 d^2}-\frac {b f \text {Li}_2\left (e^{2 c+2 d x}\right )}{2 a^2 d^2}+\frac {2 b (e+f x) \tanh ^{-1}\left (e^{2 c+2 d x}\right )}{a^2 d}-\frac {(e+f x) \text {ArcTan}(\sinh (c+d x))}{a d}-\frac {2 f x \text {ArcTan}\left (e^{c+d x}\right )}{a d}+\frac {f x \text {ArcTan}(\sinh (c+d x))}{a d}+\frac {i f \text {Li}_2\left (-i e^{c+d x}\right )}{a d^2}-\frac {i f \text {Li}_2\left (i e^{c+d x}\right )}{a d^2}-\frac {f \tanh ^{-1}(\cosh (c+d x))}{a d^2}-\frac {(e+f x) \text {csch}(c+d x)}{a d} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[((e + f*x)*Csch[c + d*x]^2*Sech[c + d*x])/(a + b*Sinh[c + d*x]),x]

[Out]

(-2*f*x*ArcTan[E^(c + d*x)])/(a*d) + (2*b^2*(e + f*x)*ArcTan[E^(c + d*x)])/(a*(a^2 + b^2)*d) + (f*x*ArcTan[Sin
h[c + d*x]])/(a*d) - ((e + f*x)*ArcTan[Sinh[c + d*x]])/(a*d) + (2*b*(e + f*x)*ArcTanh[E^(2*c + 2*d*x)])/(a^2*d
) - (f*ArcTanh[Cosh[c + d*x]])/(a*d^2) - ((e + f*x)*Csch[c + d*x])/(a*d) + (b^3*(e + f*x)*Log[1 + (b*E^(c + d*
x))/(a - Sqrt[a^2 + b^2])])/(a^2*(a^2 + b^2)*d) + (b^3*(e + f*x)*Log[1 + (b*E^(c + d*x))/(a + Sqrt[a^2 + b^2])
])/(a^2*(a^2 + b^2)*d) - (b^3*(e + f*x)*Log[1 + E^(2*(c + d*x))])/(a^2*(a^2 + b^2)*d) + (I*f*PolyLog[2, (-I)*E
^(c + d*x)])/(a*d^2) - (I*b^2*f*PolyLog[2, (-I)*E^(c + d*x)])/(a*(a^2 + b^2)*d^2) - (I*f*PolyLog[2, I*E^(c + d
*x)])/(a*d^2) + (I*b^2*f*PolyLog[2, I*E^(c + d*x)])/(a*(a^2 + b^2)*d^2) + (b^3*f*PolyLog[2, -((b*E^(c + d*x))/
(a - Sqrt[a^2 + b^2]))])/(a^2*(a^2 + b^2)*d^2) + (b^3*f*PolyLog[2, -((b*E^(c + d*x))/(a + Sqrt[a^2 + b^2]))])/
(a^2*(a^2 + b^2)*d^2) - (b^3*f*PolyLog[2, -E^(2*(c + d*x))])/(2*a^2*(a^2 + b^2)*d^2) + (b*f*PolyLog[2, -E^(2*c
 + 2*d*x)])/(2*a^2*d^2) - (b*f*PolyLog[2, E^(2*c + 2*d*x)])/(2*a^2*d^2)

Rule 12

Int[(a_)*(u_), x_Symbol] :> Dist[a, Int[u, x], x] /; FreeQ[a, x] &&  !MatchQ[u, (b_)*(v_) /; FreeQ[b, x]]

Rule 213

Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> Simp[(-(Rt[-a, 2]*Rt[b, 2])^(-1))*ArcTanh[Rt[b, 2]*(x/Rt[-a, 2])]
, x] /; FreeQ[{a, b}, x] && NegQ[a/b] && (LtQ[a, 0] || GtQ[b, 0])

Rule 327

Int[((c_.)*(x_))^(m_)*((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> Simp[c^(n - 1)*(c*x)^(m - n + 1)*((a + b*x^n
)^(p + 1)/(b*(m + n*p + 1))), x] - Dist[a*c^n*((m - n + 1)/(b*(m + n*p + 1))), Int[(c*x)^(m - n)*(a + b*x^n)^p
, x], x] /; FreeQ[{a, b, c, p}, x] && IGtQ[n, 0] && GtQ[m, n - 1] && NeQ[m + n*p + 1, 0] && IntBinomialQ[a, b,
 c, n, m, p, x]

Rule 2221

Int[(((F_)^((g_.)*((e_.) + (f_.)*(x_))))^(n_.)*((c_.) + (d_.)*(x_))^(m_.))/((a_) + (b_.)*((F_)^((g_.)*((e_.) +
 (f_.)*(x_))))^(n_.)), x_Symbol] :> Simp[((c + d*x)^m/(b*f*g*n*Log[F]))*Log[1 + b*((F^(g*(e + f*x)))^n/a)], x]
 - Dist[d*(m/(b*f*g*n*Log[F])), Int[(c + d*x)^(m - 1)*Log[1 + b*((F^(g*(e + f*x)))^n/a)], x], x] /; FreeQ[{F,
a, b, c, d, e, f, g, n}, x] && IGtQ[m, 0]

Rule 2317

Int[Log[(a_) + (b_.)*((F_)^((e_.)*((c_.) + (d_.)*(x_))))^(n_.)], x_Symbol] :> Dist[1/(d*e*n*Log[F]), Subst[Int
[Log[a + b*x]/x, x], x, (F^(e*(c + d*x)))^n], x] /; FreeQ[{F, a, b, c, d, e, n}, x] && GtQ[a, 0]

Rule 2438

Int[Log[(c_.)*((d_) + (e_.)*(x_)^(n_.))]/(x_), x_Symbol] :> Simp[-PolyLog[2, (-c)*e*x^n]/n, x] /; FreeQ[{c, d,
 e, n}, x] && EqQ[c*d, 1]

Rule 2701

Int[(csc[(e_.) + (f_.)*(x_)]*(a_.))^(m_)*sec[(e_.) + (f_.)*(x_)]^(n_.), x_Symbol] :> Dist[-(f*a^n)^(-1), Subst
[Int[x^(m + n - 1)/(-1 + x^2/a^2)^((n + 1)/2), x], x, a*Csc[e + f*x]], x] /; FreeQ[{a, e, f, m}, x] && Integer
Q[(n + 1)/2] &&  !(IntegerQ[(m + 1)/2] && LtQ[0, m, n])

Rule 3799

Int[((c_.) + (d_.)*(x_))^(m_.)*tan[(e_.) + (Complex[0, fz_])*(f_.)*(x_)], x_Symbol] :> Simp[(-I)*((c + d*x)^(m
 + 1)/(d*(m + 1))), x] + Dist[2*I, Int[(c + d*x)^m*(E^(2*((-I)*e + f*fz*x))/(1 + E^(2*((-I)*e + f*fz*x)))), x]
, x] /; FreeQ[{c, d, e, f, fz}, x] && IGtQ[m, 0]

Rule 3855

Int[csc[(c_.) + (d_.)*(x_)], x_Symbol] :> Simp[-ArcTanh[Cos[c + d*x]]/d, x] /; FreeQ[{c, d}, x]

Rule 4265

Int[csc[(e_.) + Pi*(k_.) + (Complex[0, fz_])*(f_.)*(x_)]*((c_.) + (d_.)*(x_))^(m_.), x_Symbol] :> Simp[-2*(c +
 d*x)^m*(ArcTanh[E^((-I)*e + f*fz*x)/E^(I*k*Pi)]/(f*fz*I)), x] + (-Dist[d*(m/(f*fz*I)), Int[(c + d*x)^(m - 1)*
Log[1 - E^((-I)*e + f*fz*x)/E^(I*k*Pi)], x], x] + Dist[d*(m/(f*fz*I)), Int[(c + d*x)^(m - 1)*Log[1 + E^((-I)*e
 + f*fz*x)/E^(I*k*Pi)], x], x]) /; FreeQ[{c, d, e, f, fz}, x] && IntegerQ[2*k] && IGtQ[m, 0]

Rule 4267

Int[csc[(e_.) + (Complex[0, fz_])*(f_.)*(x_)]*((c_.) + (d_.)*(x_))^(m_.), x_Symbol] :> Simp[-2*(c + d*x)^m*(Ar
cTanh[E^((-I)*e + f*fz*x)]/(f*fz*I)), x] + (-Dist[d*(m/(f*fz*I)), Int[(c + d*x)^(m - 1)*Log[1 - E^((-I)*e + f*
fz*x)], x], x] + Dist[d*(m/(f*fz*I)), Int[(c + d*x)^(m - 1)*Log[1 + E^((-I)*e + f*fz*x)], x], x]) /; FreeQ[{c,
 d, e, f, fz}, x] && IGtQ[m, 0]

Rule 5311

Int[ArcTan[u_], x_Symbol] :> Simp[x*ArcTan[u], x] - Int[SimplifyIntegrand[x*(D[u, x]/(1 + u^2)), x], x] /; Inv
erseFunctionFreeQ[u, x]

Rule 5569

Int[Csch[(a_.) + (b_.)*(x_)]^(n_.)*((c_.) + (d_.)*(x_))^(m_.)*Sech[(a_.) + (b_.)*(x_)]^(n_.), x_Symbol] :> Dis
t[2^n, Int[(c + d*x)^m*Csch[2*a + 2*b*x]^n, x], x] /; FreeQ[{a, b, c, d}, x] && RationalQ[m] && IntegerQ[n]

Rule 5570

Int[Csch[(a_.) + (b_.)*(x_)]^(n_.)*((c_.) + (d_.)*(x_))^(m_.)*Sech[(a_.) + (b_.)*(x_)]^(p_.), x_Symbol] :> Wit
h[{u = IntHide[Csch[a + b*x]^n*Sech[a + b*x]^p, x]}, Dist[(c + d*x)^m, u, x] - Dist[d*m, Int[(c + d*x)^(m - 1)
*u, x], x]] /; FreeQ[{a, b, c, d}, x] && IntegersQ[n, p] && GtQ[m, 0] && NeQ[n, p]

Rule 5680

Int[(Cosh[(c_.) + (d_.)*(x_)]*((e_.) + (f_.)*(x_))^(m_.))/((a_) + (b_.)*Sinh[(c_.) + (d_.)*(x_)]), x_Symbol] :
> Simp[-(e + f*x)^(m + 1)/(b*f*(m + 1)), x] + (Int[(e + f*x)^m*(E^(c + d*x)/(a - Rt[a^2 + b^2, 2] + b*E^(c + d
*x))), x] + Int[(e + f*x)^m*(E^(c + d*x)/(a + Rt[a^2 + b^2, 2] + b*E^(c + d*x))), x]) /; FreeQ[{a, b, c, d, e,
 f}, x] && IGtQ[m, 0] && NeQ[a^2 + b^2, 0]

Rule 5692

Int[(((e_.) + (f_.)*(x_))^(m_.)*Sech[(c_.) + (d_.)*(x_)]^(n_.))/((a_) + (b_.)*Sinh[(c_.) + (d_.)*(x_)]), x_Sym
bol] :> Dist[b^2/(a^2 + b^2), Int[(e + f*x)^m*(Sech[c + d*x]^(n - 2)/(a + b*Sinh[c + d*x])), x], x] + Dist[1/(
a^2 + b^2), Int[(e + f*x)^m*Sech[c + d*x]^n*(a - b*Sinh[c + d*x]), x], x] /; FreeQ[{a, b, c, d, e, f}, x] && I
GtQ[m, 0] && NeQ[a^2 + b^2, 0] && IGtQ[n, 0]

Rule 5708

Int[(Csch[(c_.) + (d_.)*(x_)]^(n_.)*((e_.) + (f_.)*(x_))^(m_.)*Sech[(c_.) + (d_.)*(x_)]^(p_.))/((a_) + (b_.)*S
inh[(c_.) + (d_.)*(x_)]), x_Symbol] :> Dist[1/a, Int[(e + f*x)^m*Sech[c + d*x]^p*Csch[c + d*x]^n, x], x] - Dis
t[b/a, Int[(e + f*x)^m*Sech[c + d*x]^p*(Csch[c + d*x]^(n - 1)/(a + b*Sinh[c + d*x])), x], x] /; FreeQ[{a, b, c
, d, e, f}, x] && IGtQ[m, 0] && IGtQ[n, 0] && IGtQ[p, 0]

Rule 6874

Int[u_, x_Symbol] :> With[{v = ExpandIntegrand[u, x]}, Int[v, x] /; SumQ[v]]

Rubi steps

\begin {align*} \int \frac {(e+f x) \text {csch}^2(c+d x) \text {sech}(c+d x)}{a+b \sinh (c+d x)} \, dx &=\frac {\int (e+f x) \text {csch}^2(c+d x) \text {sech}(c+d x) \, dx}{a}-\frac {b \int \frac {(e+f x) \text {csch}(c+d x) \text {sech}(c+d x)}{a+b \sinh (c+d x)} \, dx}{a}\\ &=-\frac {(e+f x) \tan ^{-1}(\sinh (c+d x))}{a d}-\frac {(e+f x) \text {csch}(c+d x)}{a d}-\frac {b \int (e+f x) \text {csch}(c+d x) \text {sech}(c+d x) \, dx}{a^2}+\frac {b^2 \int \frac {(e+f x) \text {sech}(c+d x)}{a+b \sinh (c+d x)} \, dx}{a^2}-\frac {f \int \left (-\frac {\tan ^{-1}(\sinh (c+d x))}{d}-\frac {\text {csch}(c+d x)}{d}\right ) \, dx}{a}\\ &=-\frac {(e+f x) \tan ^{-1}(\sinh (c+d x))}{a d}-\frac {(e+f x) \text {csch}(c+d x)}{a d}-\frac {(2 b) \int (e+f x) \text {csch}(2 c+2 d x) \, dx}{a^2}+\frac {b^2 \int (e+f x) \text {sech}(c+d x) (a-b \sinh (c+d x)) \, dx}{a^2 \left (a^2+b^2\right )}+\frac {b^4 \int \frac {(e+f x) \cosh (c+d x)}{a+b \sinh (c+d x)} \, dx}{a^2 \left (a^2+b^2\right )}+\frac {f \int \tan ^{-1}(\sinh (c+d x)) \, dx}{a d}+\frac {f \int \text {csch}(c+d x) \, dx}{a d}\\ &=-\frac {b^3 (e+f x)^2}{2 a^2 \left (a^2+b^2\right ) f}+\frac {f x \tan ^{-1}(\sinh (c+d x))}{a d}-\frac {(e+f x) \tan ^{-1}(\sinh (c+d x))}{a d}+\frac {2 b (e+f x) \tanh ^{-1}\left (e^{2 c+2 d x}\right )}{a^2 d}-\frac {f \tanh ^{-1}(\cosh (c+d x))}{a d^2}-\frac {(e+f x) \text {csch}(c+d x)}{a d}+\frac {b^2 \int (a (e+f x) \text {sech}(c+d x)-b (e+f x) \tanh (c+d x)) \, dx}{a^2 \left (a^2+b^2\right )}+\frac {b^4 \int \frac {e^{c+d x} (e+f x)}{a-\sqrt {a^2+b^2}+b e^{c+d x}} \, dx}{a^2 \left (a^2+b^2\right )}+\frac {b^4 \int \frac {e^{c+d x} (e+f x)}{a+\sqrt {a^2+b^2}+b e^{c+d x}} \, dx}{a^2 \left (a^2+b^2\right )}-\frac {f \int d x \text {sech}(c+d x) \, dx}{a d}+\frac {(b f) \int \log \left (1-e^{2 c+2 d x}\right ) \, dx}{a^2 d}-\frac {(b f) \int \log \left (1+e^{2 c+2 d x}\right ) \, dx}{a^2 d}\\ &=-\frac {b^3 (e+f x)^2}{2 a^2 \left (a^2+b^2\right ) f}+\frac {f x \tan ^{-1}(\sinh (c+d x))}{a d}-\frac {(e+f x) \tan ^{-1}(\sinh (c+d x))}{a d}+\frac {2 b (e+f x) \tanh ^{-1}\left (e^{2 c+2 d x}\right )}{a^2 d}-\frac {f \tanh ^{-1}(\cosh (c+d x))}{a d^2}-\frac {(e+f x) \text {csch}(c+d x)}{a d}+\frac {b^3 (e+f x) \log \left (1+\frac {b e^{c+d x}}{a-\sqrt {a^2+b^2}}\right )}{a^2 \left (a^2+b^2\right ) d}+\frac {b^3 (e+f x) \log \left (1+\frac {b e^{c+d x}}{a+\sqrt {a^2+b^2}}\right )}{a^2 \left (a^2+b^2\right ) d}+\frac {b^2 \int (e+f x) \text {sech}(c+d x) \, dx}{a \left (a^2+b^2\right )}-\frac {b^3 \int (e+f x) \tanh (c+d x) \, dx}{a^2 \left (a^2+b^2\right )}-\frac {f \int x \text {sech}(c+d x) \, dx}{a}+\frac {(b f) \text {Subst}\left (\int \frac {\log (1-x)}{x} \, dx,x,e^{2 c+2 d x}\right )}{2 a^2 d^2}-\frac {(b f) \text {Subst}\left (\int \frac {\log (1+x)}{x} \, dx,x,e^{2 c+2 d x}\right )}{2 a^2 d^2}-\frac {\left (b^3 f\right ) \int \log \left (1+\frac {b e^{c+d x}}{a-\sqrt {a^2+b^2}}\right ) \, dx}{a^2 \left (a^2+b^2\right ) d}-\frac {\left (b^3 f\right ) \int \log \left (1+\frac {b e^{c+d x}}{a+\sqrt {a^2+b^2}}\right ) \, dx}{a^2 \left (a^2+b^2\right ) d}\\ &=-\frac {2 f x \tan ^{-1}\left (e^{c+d x}\right )}{a d}+\frac {2 b^2 (e+f x) \tan ^{-1}\left (e^{c+d x}\right )}{a \left (a^2+b^2\right ) d}+\frac {f x \tan ^{-1}(\sinh (c+d x))}{a d}-\frac {(e+f x) \tan ^{-1}(\sinh (c+d x))}{a d}+\frac {2 b (e+f x) \tanh ^{-1}\left (e^{2 c+2 d x}\right )}{a^2 d}-\frac {f \tanh ^{-1}(\cosh (c+d x))}{a d^2}-\frac {(e+f x) \text {csch}(c+d x)}{a d}+\frac {b^3 (e+f x) \log \left (1+\frac {b e^{c+d x}}{a-\sqrt {a^2+b^2}}\right )}{a^2 \left (a^2+b^2\right ) d}+\frac {b^3 (e+f x) \log \left (1+\frac {b e^{c+d x}}{a+\sqrt {a^2+b^2}}\right )}{a^2 \left (a^2+b^2\right ) d}+\frac {b f \text {Li}_2\left (-e^{2 c+2 d x}\right )}{2 a^2 d^2}-\frac {b f \text {Li}_2\left (e^{2 c+2 d x}\right )}{2 a^2 d^2}-\frac {\left (2 b^3\right ) \int \frac {e^{2 (c+d x)} (e+f x)}{1+e^{2 (c+d x)}} \, dx}{a^2 \left (a^2+b^2\right )}-\frac {\left (b^3 f\right ) \text {Subst}\left (\int \frac {\log \left (1+\frac {b x}{a-\sqrt {a^2+b^2}}\right )}{x} \, dx,x,e^{c+d x}\right )}{a^2 \left (a^2+b^2\right ) d^2}-\frac {\left (b^3 f\right ) \text {Subst}\left (\int \frac {\log \left (1+\frac {b x}{a+\sqrt {a^2+b^2}}\right )}{x} \, dx,x,e^{c+d x}\right )}{a^2 \left (a^2+b^2\right ) d^2}+\frac {(i f) \int \log \left (1-i e^{c+d x}\right ) \, dx}{a d}-\frac {(i f) \int \log \left (1+i e^{c+d x}\right ) \, dx}{a d}-\frac {\left (i b^2 f\right ) \int \log \left (1-i e^{c+d x}\right ) \, dx}{a \left (a^2+b^2\right ) d}+\frac {\left (i b^2 f\right ) \int \log \left (1+i e^{c+d x}\right ) \, dx}{a \left (a^2+b^2\right ) d}\\ &=-\frac {2 f x \tan ^{-1}\left (e^{c+d x}\right )}{a d}+\frac {2 b^2 (e+f x) \tan ^{-1}\left (e^{c+d x}\right )}{a \left (a^2+b^2\right ) d}+\frac {f x \tan ^{-1}(\sinh (c+d x))}{a d}-\frac {(e+f x) \tan ^{-1}(\sinh (c+d x))}{a d}+\frac {2 b (e+f x) \tanh ^{-1}\left (e^{2 c+2 d x}\right )}{a^2 d}-\frac {f \tanh ^{-1}(\cosh (c+d x))}{a d^2}-\frac {(e+f x) \text {csch}(c+d x)}{a d}+\frac {b^3 (e+f x) \log \left (1+\frac {b e^{c+d x}}{a-\sqrt {a^2+b^2}}\right )}{a^2 \left (a^2+b^2\right ) d}+\frac {b^3 (e+f x) \log \left (1+\frac {b e^{c+d x}}{a+\sqrt {a^2+b^2}}\right )}{a^2 \left (a^2+b^2\right ) d}-\frac {b^3 (e+f x) \log \left (1+e^{2 (c+d x)}\right )}{a^2 \left (a^2+b^2\right ) d}+\frac {b^3 f \text {Li}_2\left (-\frac {b e^{c+d x}}{a-\sqrt {a^2+b^2}}\right )}{a^2 \left (a^2+b^2\right ) d^2}+\frac {b^3 f \text {Li}_2\left (-\frac {b e^{c+d x}}{a+\sqrt {a^2+b^2}}\right )}{a^2 \left (a^2+b^2\right ) d^2}+\frac {b f \text {Li}_2\left (-e^{2 c+2 d x}\right )}{2 a^2 d^2}-\frac {b f \text {Li}_2\left (e^{2 c+2 d x}\right )}{2 a^2 d^2}+\frac {(i f) \text {Subst}\left (\int \frac {\log (1-i x)}{x} \, dx,x,e^{c+d x}\right )}{a d^2}-\frac {(i f) \text {Subst}\left (\int \frac {\log (1+i x)}{x} \, dx,x,e^{c+d x}\right )}{a d^2}-\frac {\left (i b^2 f\right ) \text {Subst}\left (\int \frac {\log (1-i x)}{x} \, dx,x,e^{c+d x}\right )}{a \left (a^2+b^2\right ) d^2}+\frac {\left (i b^2 f\right ) \text {Subst}\left (\int \frac {\log (1+i x)}{x} \, dx,x,e^{c+d x}\right )}{a \left (a^2+b^2\right ) d^2}+\frac {\left (b^3 f\right ) \int \log \left (1+e^{2 (c+d x)}\right ) \, dx}{a^2 \left (a^2+b^2\right ) d}\\ &=-\frac {2 f x \tan ^{-1}\left (e^{c+d x}\right )}{a d}+\frac {2 b^2 (e+f x) \tan ^{-1}\left (e^{c+d x}\right )}{a \left (a^2+b^2\right ) d}+\frac {f x \tan ^{-1}(\sinh (c+d x))}{a d}-\frac {(e+f x) \tan ^{-1}(\sinh (c+d x))}{a d}+\frac {2 b (e+f x) \tanh ^{-1}\left (e^{2 c+2 d x}\right )}{a^2 d}-\frac {f \tanh ^{-1}(\cosh (c+d x))}{a d^2}-\frac {(e+f x) \text {csch}(c+d x)}{a d}+\frac {b^3 (e+f x) \log \left (1+\frac {b e^{c+d x}}{a-\sqrt {a^2+b^2}}\right )}{a^2 \left (a^2+b^2\right ) d}+\frac {b^3 (e+f x) \log \left (1+\frac {b e^{c+d x}}{a+\sqrt {a^2+b^2}}\right )}{a^2 \left (a^2+b^2\right ) d}-\frac {b^3 (e+f x) \log \left (1+e^{2 (c+d x)}\right )}{a^2 \left (a^2+b^2\right ) d}+\frac {i f \text {Li}_2\left (-i e^{c+d x}\right )}{a d^2}-\frac {i b^2 f \text {Li}_2\left (-i e^{c+d x}\right )}{a \left (a^2+b^2\right ) d^2}-\frac {i f \text {Li}_2\left (i e^{c+d x}\right )}{a d^2}+\frac {i b^2 f \text {Li}_2\left (i e^{c+d x}\right )}{a \left (a^2+b^2\right ) d^2}+\frac {b^3 f \text {Li}_2\left (-\frac {b e^{c+d x}}{a-\sqrt {a^2+b^2}}\right )}{a^2 \left (a^2+b^2\right ) d^2}+\frac {b^3 f \text {Li}_2\left (-\frac {b e^{c+d x}}{a+\sqrt {a^2+b^2}}\right )}{a^2 \left (a^2+b^2\right ) d^2}+\frac {b f \text {Li}_2\left (-e^{2 c+2 d x}\right )}{2 a^2 d^2}-\frac {b f \text {Li}_2\left (e^{2 c+2 d x}\right )}{2 a^2 d^2}+\frac {\left (b^3 f\right ) \text {Subst}\left (\int \frac {\log (1+x)}{x} \, dx,x,e^{2 (c+d x)}\right )}{2 a^2 \left (a^2+b^2\right ) d^2}\\ &=-\frac {2 f x \tan ^{-1}\left (e^{c+d x}\right )}{a d}+\frac {2 b^2 (e+f x) \tan ^{-1}\left (e^{c+d x}\right )}{a \left (a^2+b^2\right ) d}+\frac {f x \tan ^{-1}(\sinh (c+d x))}{a d}-\frac {(e+f x) \tan ^{-1}(\sinh (c+d x))}{a d}+\frac {2 b (e+f x) \tanh ^{-1}\left (e^{2 c+2 d x}\right )}{a^2 d}-\frac {f \tanh ^{-1}(\cosh (c+d x))}{a d^2}-\frac {(e+f x) \text {csch}(c+d x)}{a d}+\frac {b^3 (e+f x) \log \left (1+\frac {b e^{c+d x}}{a-\sqrt {a^2+b^2}}\right )}{a^2 \left (a^2+b^2\right ) d}+\frac {b^3 (e+f x) \log \left (1+\frac {b e^{c+d x}}{a+\sqrt {a^2+b^2}}\right )}{a^2 \left (a^2+b^2\right ) d}-\frac {b^3 (e+f x) \log \left (1+e^{2 (c+d x)}\right )}{a^2 \left (a^2+b^2\right ) d}+\frac {i f \text {Li}_2\left (-i e^{c+d x}\right )}{a d^2}-\frac {i b^2 f \text {Li}_2\left (-i e^{c+d x}\right )}{a \left (a^2+b^2\right ) d^2}-\frac {i f \text {Li}_2\left (i e^{c+d x}\right )}{a d^2}+\frac {i b^2 f \text {Li}_2\left (i e^{c+d x}\right )}{a \left (a^2+b^2\right ) d^2}+\frac {b^3 f \text {Li}_2\left (-\frac {b e^{c+d x}}{a-\sqrt {a^2+b^2}}\right )}{a^2 \left (a^2+b^2\right ) d^2}+\frac {b^3 f \text {Li}_2\left (-\frac {b e^{c+d x}}{a+\sqrt {a^2+b^2}}\right )}{a^2 \left (a^2+b^2\right ) d^2}-\frac {b^3 f \text {Li}_2\left (-e^{2 (c+d x)}\right )}{2 a^2 \left (a^2+b^2\right ) d^2}+\frac {b f \text {Li}_2\left (-e^{2 c+2 d x}\right )}{2 a^2 d^2}-\frac {b f \text {Li}_2\left (e^{2 c+2 d x}\right )}{2 a^2 d^2}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]
time = 5.38, size = 591, normalized size = 1.00 \begin {gather*} \frac {-\frac {d (e+f x) \coth \left (\frac {1}{2} (c+d x)\right )}{a}-\frac {2 b d e \log (\sinh (c+d x))}{a^2}+\frac {2 b c f \log (\sinh (c+d x))}{a^2}+\frac {2 f \log \left (\tanh \left (\frac {1}{2} (c+d x)\right )\right )}{a}+\frac {b f \left (-\left ((c+d x) \left (c+d x+2 \log \left (1-e^{-2 (c+d x)}\right )\right )\right )+\text {PolyLog}\left (2,e^{-2 (c+d x)}\right )\right )}{a^2}+\frac {2 b^3 \left (-\frac {1}{2} f (c+d x)^2+f (c+d x) \log \left (1+\frac {b e^{c+d x}}{a-\sqrt {a^2+b^2}}\right )+f (c+d x) \log \left (1+\frac {b e^{c+d x}}{a+\sqrt {a^2+b^2}}\right )+d e \log (a+b \sinh (c+d x))-c f \log (a+b \sinh (c+d x))+f \text {PolyLog}\left (2,\frac {b e^{c+d x}}{-a+\sqrt {a^2+b^2}}\right )+f \text {PolyLog}\left (2,-\frac {b e^{c+d x}}{a+\sqrt {a^2+b^2}}\right )\right )}{a^2 \left (a^2+b^2\right )}+\frac {2 \left (-b d e (c+d x)+b c f (c+d x)+\frac {1}{2} b f (c+d x)^2-2 a d e \text {ArcTan}(\cosh (c+d x)+\sinh (c+d x))+2 a c f \text {ArcTan}(\cosh (c+d x)+\sinh (c+d x))-2 a f (c+d x) \text {ArcTan}(\cosh (c+d x)+\sinh (c+d x))+b f (c+d x) \log (2 \cosh (c+d x) (\cosh (c+d x)-\sinh (c+d x)))+b d e \log (1+\cosh (2 (c+d x))+\sinh (2 (c+d x)))-b c f \log (1+\cosh (2 (c+d x))+\sinh (2 (c+d x)))+i a f \text {PolyLog}(2,-i (\cosh (c+d x)+\sinh (c+d x)))-i a f \text {PolyLog}(2,i (\cosh (c+d x)+\sinh (c+d x)))-\frac {1}{2} b f \text {PolyLog}(2,-\cosh (2 (c+d x))+\sinh (2 (c+d x)))\right )}{a^2+b^2}+\frac {d (e+f x) \tanh \left (\frac {1}{2} (c+d x)\right )}{a}}{2 d^2} \end {gather*}

Warning: Unable to verify antiderivative.

[In]

Integrate[((e + f*x)*Csch[c + d*x]^2*Sech[c + d*x])/(a + b*Sinh[c + d*x]),x]

[Out]

(-((d*(e + f*x)*Coth[(c + d*x)/2])/a) - (2*b*d*e*Log[Sinh[c + d*x]])/a^2 + (2*b*c*f*Log[Sinh[c + d*x]])/a^2 +
(2*f*Log[Tanh[(c + d*x)/2]])/a + (b*f*(-((c + d*x)*(c + d*x + 2*Log[1 - E^(-2*(c + d*x))])) + PolyLog[2, E^(-2
*(c + d*x))]))/a^2 + (2*b^3*(-1/2*(f*(c + d*x)^2) + f*(c + d*x)*Log[1 + (b*E^(c + d*x))/(a - Sqrt[a^2 + b^2])]
 + f*(c + d*x)*Log[1 + (b*E^(c + d*x))/(a + Sqrt[a^2 + b^2])] + d*e*Log[a + b*Sinh[c + d*x]] - c*f*Log[a + b*S
inh[c + d*x]] + f*PolyLog[2, (b*E^(c + d*x))/(-a + Sqrt[a^2 + b^2])] + f*PolyLog[2, -((b*E^(c + d*x))/(a + Sqr
t[a^2 + b^2]))]))/(a^2*(a^2 + b^2)) + (2*(-(b*d*e*(c + d*x)) + b*c*f*(c + d*x) + (b*f*(c + d*x)^2)/2 - 2*a*d*e
*ArcTan[Cosh[c + d*x] + Sinh[c + d*x]] + 2*a*c*f*ArcTan[Cosh[c + d*x] + Sinh[c + d*x]] - 2*a*f*(c + d*x)*ArcTa
n[Cosh[c + d*x] + Sinh[c + d*x]] + b*f*(c + d*x)*Log[2*Cosh[c + d*x]*(Cosh[c + d*x] - Sinh[c + d*x])] + b*d*e*
Log[1 + Cosh[2*(c + d*x)] + Sinh[2*(c + d*x)]] - b*c*f*Log[1 + Cosh[2*(c + d*x)] + Sinh[2*(c + d*x)]] + I*a*f*
PolyLog[2, (-I)*(Cosh[c + d*x] + Sinh[c + d*x])] - I*a*f*PolyLog[2, I*(Cosh[c + d*x] + Sinh[c + d*x])] - (b*f*
PolyLog[2, -Cosh[2*(c + d*x)] + Sinh[2*(c + d*x)]])/2))/(a^2 + b^2) + (d*(e + f*x)*Tanh[(c + d*x)/2])/a)/(2*d^
2)

________________________________________________________________________________________

Maple [B] Both result and optimal contain complex but leaf count of result is larger than twice the leaf count of optimal. 1528 vs. \(2 (556 ) = 1112\).
time = 5.84, size = 1529, normalized size = 2.59

method result size
risch \(\text {Expression too large to display}\) \(1529\)

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((f*x+e)*csch(d*x+c)^2*sech(d*x+c)/(a+b*sinh(d*x+c)),x,method=_RETURNVERBOSE)

[Out]

-1/a/d^2*f*ln(exp(d*x+c)+1)+1/a/d^2*f*ln(exp(d*x+c)-1)-1/d^2*b*f*c/a/(a^2+b^2)^(1/2)*arctanh(1/2*(2*b*exp(d*x+
c)+2*a)/(a^2+b^2)^(1/2))+1/a^2/d^2*b*f*c*ln(exp(d*x+c)-1)-1/a^2/d*b*f*ln(exp(d*x+c)+1)*x-1/d*a*b*e/(a^2+b^2)^(
3/2)*arctanh(1/2*(2*b*exp(d*x+c)+2*a)/(a^2+b^2)^(1/2))+1/d^2/a^2*b^3*f/(a^2+b^2)*dilog((b*exp(d*x+c)+(a^2+b^2)
^(1/2)+a)/(a+(a^2+b^2)^(1/2)))+1/d^2/a^2*b^3*f/(a^2+b^2)*dilog((-b*exp(d*x+c)+(a^2+b^2)^(1/2)-a)/(-a+(a^2+b^2)
^(1/2)))+8/d^2*a*f*c/(4*a^2+4*b^2)*arctan(exp(d*x+c))-1/d/a*b^3*e/(a^2+b^2)^(3/2)*arctanh(1/2*(2*b*exp(d*x+c)+
2*a)/(a^2+b^2)^(1/2))-1/d^2*a*b*f/(a^2+b^2)^(3/2)*arctanh(1/2*(2*b*exp(d*x+c)+2*a)/(a^2+b^2)^(1/2))+1/d/a^2*b^
3*e/(a^2+b^2)*ln(b*exp(2*d*x+2*c)+2*a*exp(d*x+c)-b)-1/a^2/d*b*e*ln(exp(d*x+c)+1)-1/a^2/d*b*e*ln(exp(d*x+c)-1)+
1/d^2/a^2*b^3*f/(a^2+b^2)*ln((b*exp(d*x+c)+(a^2+b^2)^(1/2)+a)/(a+(a^2+b^2)^(1/2)))*c-1/d^2/a^2*b^3*f*c/(a^2+b^
2)*ln(b*exp(2*d*x+2*c)+2*a*exp(d*x+c)-b)+1/d^2/a^2*b^3*f/(a^2+b^2)*ln((-b*exp(d*x+c)+(a^2+b^2)^(1/2)-a)/(-a+(a
^2+b^2)^(1/2)))*c+1/d^2/a*b^3*f*c/(a^2+b^2)^(3/2)*arctanh(1/2*(2*b*exp(d*x+c)+2*a)/(a^2+b^2)^(1/2))-4*I/d*a*f/
(4*a^2+4*b^2)*ln(1-I*exp(d*x+c))*x+4*I/d*a*f/(4*a^2+4*b^2)*ln(1+I*exp(d*x+c))*x+4*I/d^2*a*f/(4*a^2+4*b^2)*ln(1
+I*exp(d*x+c))*c-4*I/d^2*a*f/(4*a^2+4*b^2)*ln(1-I*exp(d*x+c))*c+1/d*b*e/a/(a^2+b^2)^(1/2)*arctanh(1/2*(2*b*exp
(d*x+c)+2*a)/(a^2+b^2)^(1/2))+1/d^2/a*f*b/(a^2+b^2)^(1/2)*arctanh(1/2*(2*b*exp(d*x+c)+2*a)/(a^2+b^2)^(1/2))-1/
d^2/a*b^3*f/(a^2+b^2)^(3/2)*arctanh(1/2*(2*b*exp(d*x+c)+2*a)/(a^2+b^2)^(1/2))+4/d*b*f/(4*a^2+4*b^2)*ln(1-I*exp
(d*x+c))*x+4/d*b*f/(4*a^2+4*b^2)*ln(1+I*exp(d*x+c))*x-4/d^2*b*f*c/(4*a^2+4*b^2)*ln(1+exp(2*d*x+2*c))+4/d^2*b*f
/(4*a^2+4*b^2)*ln(1+I*exp(d*x+c))*c+4/d^2*b*f/(4*a^2+4*b^2)*ln(1-I*exp(d*x+c))*c+4*I/d^2*a*f/(4*a^2+4*b^2)*dil
og(1+I*exp(d*x+c))-4*I/d^2*a*f/(4*a^2+4*b^2)*dilog(1-I*exp(d*x+c))+1/d/a^2*b^3*f/(a^2+b^2)*ln((-b*exp(d*x+c)+(
a^2+b^2)^(1/2)-a)/(-a+(a^2+b^2)^(1/2)))*x+1/d/a^2*b^3*f/(a^2+b^2)*ln((b*exp(d*x+c)+(a^2+b^2)^(1/2)+a)/(a+(a^2+
b^2)^(1/2)))*x+1/d^2*a*b*f*c/(a^2+b^2)^(3/2)*arctanh(1/2*(2*b*exp(d*x+c)+2*a)/(a^2+b^2)^(1/2))-2/d*(f*x+e)/a*e
xp(d*x+c)/(exp(2*d*x+2*c)-1)+4/d*b*e/(4*a^2+4*b^2)*ln(1+exp(2*d*x+2*c))+4/d^2*b*f/(4*a^2+4*b^2)*dilog(1+I*exp(
d*x+c))+4/d^2*b*f/(4*a^2+4*b^2)*dilog(1-I*exp(d*x+c))-8/d*a*e/(4*a^2+4*b^2)*arctan(exp(d*x+c))-b/d^2/a^2*f*dil
og(exp(d*x+c)+1)+b/d^2/a^2*f*dilog(exp(d*x+c))

________________________________________________________________________________________

Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((f*x+e)*csch(d*x+c)^2*sech(d*x+c)/(a+b*sinh(d*x+c)),x, algorithm="maxima")

[Out]

(8*b*d*integrate(1/8*x/(a^2*d*e^(d*x + c) + a^2*d), x) - 8*b*d*integrate(1/8*x/(a^2*d*e^(d*x + c) - a^2*d), x)
 + a*((d*x + c)/(a^2*d^2) - log(e^(d*x + c) + 1)/(a^2*d^2)) - a*((d*x + c)/(a^2*d^2) - log(e^(d*x + c) - 1)/(a
^2*d^2)) - 2*x*e^(d*x + c)/(a*d*e^(2*d*x + 2*c) - a*d) - 8*integrate(-1/4*(a*b^3*x*e^(d*x + c) - b^4*x)/(a^4*b
 + a^2*b^3 - (a^4*b*e^(2*c) + a^2*b^3*e^(2*c))*e^(2*d*x) - 2*(a^5*e^c + a^3*b^2*e^c)*e^(d*x)), x) - 8*integrat
e(1/4*(a*x*e^(d*x + c) + b*x)/(a^2 + b^2 + (a^2*e^(2*c) + b^2*e^(2*c))*e^(2*d*x)), x))*f + (b^3*log(-2*a*e^(-d
*x - c) + b*e^(-2*d*x - 2*c) - b)/((a^4 + a^2*b^2)*d) + 2*a*arctan(e^(-d*x - c))/((a^2 + b^2)*d) + b*log(e^(-2
*d*x - 2*c) + 1)/((a^2 + b^2)*d) + 2*e^(-d*x - c)/((a*e^(-2*d*x - 2*c) - a)*d) - b*log(e^(-d*x - c) + 1)/(a^2*
d) - b*log(e^(-d*x - c) - 1)/(a^2*d))*e

________________________________________________________________________________________

Fricas [B] Both result and optimal contain complex but leaf count of result is larger than twice the leaf count of optimal. 2955 vs. \(2 (546) = 1092\).
time = 0.52, size = 2955, normalized size = 5.00 \begin {gather*} \text {Too large to display} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((f*x+e)*csch(d*x+c)^2*sech(d*x+c)/(a+b*sinh(d*x+c)),x, algorithm="fricas")

[Out]

-(2*((a^3 + a*b^2)*d*f*x + (a^3 + a*b^2)*d*cosh(1) + (a^3 + a*b^2)*d*sinh(1))*cosh(d*x + c) - (b^3*f*cosh(d*x
+ c)^2 + 2*b^3*f*cosh(d*x + c)*sinh(d*x + c) + b^3*f*sinh(d*x + c)^2 - b^3*f)*dilog((a*cosh(d*x + c) + a*sinh(
d*x + c) + (b*cosh(d*x + c) + b*sinh(d*x + c))*sqrt((a^2 + b^2)/b^2) - b)/b + 1) - (b^3*f*cosh(d*x + c)^2 + 2*
b^3*f*cosh(d*x + c)*sinh(d*x + c) + b^3*f*sinh(d*x + c)^2 - b^3*f)*dilog((a*cosh(d*x + c) + a*sinh(d*x + c) -
(b*cosh(d*x + c) + b*sinh(d*x + c))*sqrt((a^2 + b^2)/b^2) - b)/b + 1) + ((a^2*b + b^3)*f*cosh(d*x + c)^2 + 2*(
a^2*b + b^3)*f*cosh(d*x + c)*sinh(d*x + c) + (a^2*b + b^3)*f*sinh(d*x + c)^2 - (a^2*b + b^3)*f)*dilog(cosh(d*x
 + c) + sinh(d*x + c)) - (I*a^3*f - a^2*b*f + (-I*a^3*f + a^2*b*f)*cosh(d*x + c)^2 - 2*(I*a^3*f - a^2*b*f)*cos
h(d*x + c)*sinh(d*x + c) + (-I*a^3*f + a^2*b*f)*sinh(d*x + c)^2)*dilog(I*cosh(d*x + c) + I*sinh(d*x + c)) - (-
I*a^3*f - a^2*b*f + (I*a^3*f + a^2*b*f)*cosh(d*x + c)^2 - 2*(-I*a^3*f - a^2*b*f)*cosh(d*x + c)*sinh(d*x + c) +
 (I*a^3*f + a^2*b*f)*sinh(d*x + c)^2)*dilog(-I*cosh(d*x + c) - I*sinh(d*x + c)) + ((a^2*b + b^3)*f*cosh(d*x +
c)^2 + 2*(a^2*b + b^3)*f*cosh(d*x + c)*sinh(d*x + c) + (a^2*b + b^3)*f*sinh(d*x + c)^2 - (a^2*b + b^3)*f)*dilo
g(-cosh(d*x + c) - sinh(d*x + c)) - (b^3*c*f - b^3*d*cosh(1) - b^3*d*sinh(1) - (b^3*c*f - b^3*d*cosh(1) - b^3*
d*sinh(1))*cosh(d*x + c)^2 - 2*(b^3*c*f - b^3*d*cosh(1) - b^3*d*sinh(1))*cosh(d*x + c)*sinh(d*x + c) - (b^3*c*
f - b^3*d*cosh(1) - b^3*d*sinh(1))*sinh(d*x + c)^2)*log(2*b*cosh(d*x + c) + 2*b*sinh(d*x + c) + 2*b*sqrt((a^2
+ b^2)/b^2) + 2*a) - (b^3*c*f - b^3*d*cosh(1) - b^3*d*sinh(1) - (b^3*c*f - b^3*d*cosh(1) - b^3*d*sinh(1))*cosh
(d*x + c)^2 - 2*(b^3*c*f - b^3*d*cosh(1) - b^3*d*sinh(1))*cosh(d*x + c)*sinh(d*x + c) - (b^3*c*f - b^3*d*cosh(
1) - b^3*d*sinh(1))*sinh(d*x + c)^2)*log(2*b*cosh(d*x + c) + 2*b*sinh(d*x + c) - 2*b*sqrt((a^2 + b^2)/b^2) + 2
*a) + (b^3*d*f*x + b^3*c*f - (b^3*d*f*x + b^3*c*f)*cosh(d*x + c)^2 - 2*(b^3*d*f*x + b^3*c*f)*cosh(d*x + c)*sin
h(d*x + c) - (b^3*d*f*x + b^3*c*f)*sinh(d*x + c)^2)*log(-(a*cosh(d*x + c) + a*sinh(d*x + c) + (b*cosh(d*x + c)
 + b*sinh(d*x + c))*sqrt((a^2 + b^2)/b^2) - b)/b) + (b^3*d*f*x + b^3*c*f - (b^3*d*f*x + b^3*c*f)*cosh(d*x + c)
^2 - 2*(b^3*d*f*x + b^3*c*f)*cosh(d*x + c)*sinh(d*x + c) - (b^3*d*f*x + b^3*c*f)*sinh(d*x + c)^2)*log(-(a*cosh
(d*x + c) + a*sinh(d*x + c) - (b*cosh(d*x + c) + b*sinh(d*x + c))*sqrt((a^2 + b^2)/b^2) - b)/b) - ((a^2*b + b^
3)*d*f*x + (a^2*b + b^3)*d*cosh(1) - ((a^2*b + b^3)*d*f*x + (a^2*b + b^3)*d*cosh(1) + (a^2*b + b^3)*d*sinh(1)
+ (a^3 + a*b^2)*f)*cosh(d*x + c)^2 + (a^2*b + b^3)*d*sinh(1) - 2*((a^2*b + b^3)*d*f*x + (a^2*b + b^3)*d*cosh(1
) + (a^2*b + b^3)*d*sinh(1) + (a^3 + a*b^2)*f)*cosh(d*x + c)*sinh(d*x + c) - ((a^2*b + b^3)*d*f*x + (a^2*b + b
^3)*d*cosh(1) + (a^2*b + b^3)*d*sinh(1) + (a^3 + a*b^2)*f)*sinh(d*x + c)^2 + (a^3 + a*b^2)*f)*log(cosh(d*x + c
) + sinh(d*x + c) + 1) - (-I*a^3*c*f + a^2*b*c*f + I*a^3*d*cosh(1) - a^2*b*d*cosh(1) + I*a^3*d*sinh(1) - a^2*b
*d*sinh(1) + (I*a^3*c*f - a^2*b*c*f - I*a^3*d*cosh(1) + a^2*b*d*cosh(1) - I*a^3*d*sinh(1) + a^2*b*d*sinh(1))*c
osh(d*x + c)^2 - 2*(-I*a^3*c*f + a^2*b*c*f + I*a^3*d*cosh(1) - a^2*b*d*cosh(1) + I*a^3*d*sinh(1) - a^2*b*d*sin
h(1))*cosh(d*x + c)*sinh(d*x + c) + (I*a^3*c*f - a^2*b*c*f - I*a^3*d*cosh(1) + a^2*b*d*cosh(1) - I*a^3*d*sinh(
1) + a^2*b*d*sinh(1))*sinh(d*x + c)^2)*log(cosh(d*x + c) + sinh(d*x + c) + I) - (I*a^3*c*f + a^2*b*c*f - I*a^3
*d*cosh(1) - a^2*b*d*cosh(1) - I*a^3*d*sinh(1) - a^2*b*d*sinh(1) + (-I*a^3*c*f - a^2*b*c*f + I*a^3*d*cosh(1) +
 a^2*b*d*cosh(1) + I*a^3*d*sinh(1) + a^2*b*d*sinh(1))*cosh(d*x + c)^2 - 2*(I*a^3*c*f + a^2*b*c*f - I*a^3*d*cos
h(1) - a^2*b*d*cosh(1) - I*a^3*d*sinh(1) - a^2*b*d*sinh(1))*cosh(d*x + c)*sinh(d*x + c) + (-I*a^3*c*f - a^2*b*
c*f + I*a^3*d*cosh(1) + a^2*b*d*cosh(1) + I*a^3*d*sinh(1) + a^2*b*d*sinh(1))*sinh(d*x + c)^2)*log(cosh(d*x + c
) + sinh(d*x + c) - I) - ((a^2*b + b^3)*d*cosh(1) - ((a^2*b + b^3)*d*cosh(1) + (a^2*b + b^3)*d*sinh(1) - (a^3
+ a*b^2 + (a^2*b + b^3)*c)*f)*cosh(d*x + c)^2 + (a^2*b + b^3)*d*sinh(1) - 2*((a^2*b + b^3)*d*cosh(1) + (a^2*b
+ b^3)*d*sinh(1) - (a^3 + a*b^2 + (a^2*b + b^3)*c)*f)*cosh(d*x + c)*sinh(d*x + c) - ((a^2*b + b^3)*d*cosh(1) +
 (a^2*b + b^3)*d*sinh(1) - (a^3 + a*b^2 + (a^2*b + b^3)*c)*f)*sinh(d*x + c)^2 - (a^3 + a*b^2 + (a^2*b + b^3)*c
)*f)*log(cosh(d*x + c) + sinh(d*x + c) - 1) - (-I*a^3*d*f*x - a^2*b*d*f*x - I*a^3*c*f - a^2*b*c*f + (I*a^3*d*f
*x + a^2*b*d*f*x + I*a^3*c*f + a^2*b*c*f)*cosh(d*x + c)^2 - 2*(-I*a^3*d*f*x - a^2*b*d*f*x - I*a^3*c*f - a^2*b*
c*f)*cosh(d*x + c)*sinh(d*x + c) + (I*a^3*d*f*x + a^2*b*d*f*x + I*a^3*c*f + a^2*b*c*f)*sinh(d*x + c)^2)*log(I*
cosh(d*x + c) + I*sinh(d*x + c) + 1) - (I*a^3*d*f*x - a^2*b*d*f*x + I*a^3*c*f - a^2*b*c*f + (-I*a^3*d*f*x + a^
2*b*d*f*x - I*a^3*c*f + a^2*b*c*f)*cosh(d*x + c)^2 - 2*(I*a^3*d*f*x - a^2*b*d*f*x + I*a^3*c*f - a^2*b*c*f)*cos
h(d*x + c)*sinh(d*x + c) + (-I*a^3*d*f*x + a^2*b*d*f*x - I*a^3*c*f + a^2*b*c*f)*sinh(d*x + c)^2)*log(-I*cosh(d
*x + c) - I*sinh(d*x + c) + 1) - ((a^2*b + b^3)...

________________________________________________________________________________________

Sympy [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: SystemError} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((f*x+e)*csch(d*x+c)**2*sech(d*x+c)/(a+b*sinh(d*x+c)),x)

[Out]

Exception raised: SystemError >> excessive stack use: stack is 3436 deep

________________________________________________________________________________________

Giac [F(-1)] Timed out
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((f*x+e)*csch(d*x+c)^2*sech(d*x+c)/(a+b*sinh(d*x+c)),x, algorithm="giac")

[Out]

Timed out

________________________________________________________________________________________

Mupad [F]
time = 0.00, size = -1, normalized size = -0.00 \begin {gather*} \int \frac {e+f\,x}{\mathrm {cosh}\left (c+d\,x\right )\,{\mathrm {sinh}\left (c+d\,x\right )}^2\,\left (a+b\,\mathrm {sinh}\left (c+d\,x\right )\right )} \,d x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((e + f*x)/(cosh(c + d*x)*sinh(c + d*x)^2*(a + b*sinh(c + d*x))),x)

[Out]

int((e + f*x)/(cosh(c + d*x)*sinh(c + d*x)^2*(a + b*sinh(c + d*x))), x)

________________________________________________________________________________________